//
//  ItemButtonView.h
//  SSC
//
//  Created by 红沙尘 on 2017/9/4.
//  Copyright © 2017年 红沙尘. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kItemTitleKey @"title"
#define kItemSubtitleKey @"subTitle"

@class ItemButtonView;

@protocol ItemButtonViewDelegate <NSObject>

- (void)itemButtonView:(ItemButtonView *)view atIndex:(NSInteger)index;

@end

@interface ItemButtonView : UIView

@property (nonatomic, weak) id <ItemButtonViewDelegate> delegate;

- (void)loadWithDict:(NSDictionary *)dict;

- (NSString *)subTtile;
- (NSString *)title;

@end
